package org.jeecg.modules.parameter.biz.service.impl;


import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.parameter.api.entity.SimHall;
import org.jeecg.modules.parameter.api.entity.SimPlatform;
import org.jeecg.modules.parameter.biz.mapper.SimStationPlatformMapper;
import org.jeecg.modules.parameter.biz.service.SimStationPlatformService;
import org.jeecg.modules.parameter.common.biz.service.impl.FzServiceImpl;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author LSY
 */
@Slf4j
@Primary
@Service
@Transactional(rollbackFor = Exception.class)
public class SimStationPlatformServiceImpl extends FzServiceImpl<SimStationPlatformMapper, SimPlatform> implements SimStationPlatformService {

    @Resource
    private SimStationPlatformMapper mapper;
    @Override
    public List<SimPlatform> getPlatformBySataId(String id) {
        return mapper.getPlatformBySataId(id);
    }

}
